package com.ctshk.rpc.system.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * @author Lenovo
 */

@Data
@ApiModel(value = "AreaTreeDTO对象", description = "国家区域树属性")
public class AreaTreeDTO implements Serializable {

    @ApiModelProperty(value = "数据id")
    private Long id;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "名称")
    private Integer status;

    @ApiModelProperty(value = "子节点")
    private List<AreaTreeDTO> children;
}
